package com.sxl.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.sxl.domain.Message;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @author xue
* @description 针对表【message】的数据库操作Mapper
* @createDate 2022-05-02 14:25:16
* @Entity com.sxl.domain.Message
*/
@Mapper
public interface MessageMapper extends BaseMapper<Message> {
    /**
     * 全查   消息
     * @param message
     * @return
     */
    List<Message> selectAllByReceiverId(Message message);

    /**
     * 查询行数
     * @param message
     * @return
     */
    int getCount(Message message);
}




